<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <title>登录 小熊猫金服</title>
    <link href="{{'/css/style.css'}}" rel="stylesheet" type="text/css" />
    <link href="{{'/css/login.css'}}" rel="stylesheet" type="text/css" />
    <script src="{{'/js/jquery-1.7.1.min.js'}}" type="text/javascript"></script>
    <script src="{{'/js/js.js'}}" type="text/javascript"></script>
</head>

<body>

<!--header start-->
<div class="header_lo">
    <div class="logo"><a href="/"><img src="{{asset('images/logo.png')}}"/></a></div>
    <div class="txt">
        登录
    </div>

</div>
<!--header end-->

<!--main start-->
<div class="login_wrap">
    <div class="login_box">

        <div class="login_form">
            <form action="{{url('user/login')}}" method="post">
                {{csrf_field()}}
                <div class="tit">
                    <div class="t_name">登录</div>
                    <div class="t_txt">没有帐号？ <a href="{{url('user/register')}}">免费注册</a></div>
                </div>
                <div class="i1_w"><input class="input" name="name" type="text" placeholder="请输入用户名" />
                </div>
                <div class="i2_w"><input class="input" name="password" type="password" placeholder="请输入密码"/>
                </div>
                {{--<div class="i1_w">--}}
                    {{--<input name="captcha" type="text" placeholder="请填写验证码"/>--}}
                    {{--<img id="captcha" src="{{url('user/captcha/')}}" alt=""/>--}}
                {{--</div>--}}
                <div class="line">
                    <div class="btn_hq" ><img  id="captcha" src="{{url('user/captcha/')}}" width="115" height="45" /></div>
                    <div class="i3_w"><input class="input_3" name="captcha" type="text" value=""  placeholder="请输入验证码" />
                    </div>

                    <div class="clear"></div>
                </div>
                <div class="btn_w"><input id="login" class="btn" name="" type="submit" value="登录" />
                </div>
                <div class="wj"><a href="{{url('user/forget-password')}}">忘记密码？</a></div>
            </form>
        </div>
        <div class="login_pic">
           <img src="{{asset('images/login_pic.jpg')}}" />
        </div>
        <div class="clear"></div>
    </div>
</div>
</div>
<!--main end-->

<!--footer start-->
<div class="footer_w">
    <div class="footer">

        <div class="f_right">
            <div class="con_r">
                <div class="lx">联系我们 <span>9:00 - 21:00</span></div>
                <div class="tel">0574-87129019</div>
                <a class="kf" href="#">在线客服</a>   <a class="email" href="#">客服邮箱</a>
            </div>
        </div>
        <div class="f_left">
            <div class="f_nav">
                <a href="#">关于我们</a> | <a href="#">法律声明</a> | <a href="#">媒体报道</a> | <a href="#">团队介绍</a> | <a href="#">帮助中心</a> | <a href="#">友情链接</a>
            </div>
            <div class="copyright"><span>&copy; 2016</span> 宁波振豪网络科技有限公司 ICP证浙ICP备16030603号-1</div>
            <div class="f_img">
                <a href="#"><img src="{{asset('images/i_f_1.png')}}" width="42" height="42"></a>
                <a href="#"><img src="{{asset('images/i_f_2.png')}}" width="114" height="41"></a>
                <a href="#"><img src="{{asset('images/i_f_3.png')}}" width="102" height="38"></a>
                <a href="#"><img src="{{asset('images/i_f_4.png')}}" width="103" height="60"></a>
            </div>
        </div>

    </div>
</div>
<!--footer end-->
<script type="text/javascript" language="JavaScript">
    $(function(){
        //登录验证
        var msg = '{{session('msg')}}';
        if(msg.length>0){
            alert(msg);
        }

        $('#captcha').on('click' , function(){
            $(this).attr('src', "{{ url('user/captcha') }}" + '/' + Math.random());
        });
    })
</script>
</body>
</html>